package com.lx.pc.mybatis.repository.card;

import java.math.BigInteger;

import org.springframework.data.mybatis.repository.annotation.Query;
import org.springframework.data.mybatis.repository.support.MybatisRepository;
import org.springframework.stereotype.Repository;

import com.lx.pc.domain.entity.card.CardEntity;

@Repository("cardRepository")
public interface CardRepository extends MybatisRepository<CardEntity, BigInteger> {

	/**
	 * 根据对象查询
	 * @param v
	 * @return
	 */
	@Query("findByCard")
	public CardEntity findByCard(CardEntity v);
}
